home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group02b.txt / 000138_icon-group-sender_Thu Nov 21 17:20:11 2002.msg < prev    next >
Internet Message Format  |  2003-01-02  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id gAM0K5c13075
  4.     for icon-group-addresses; Thu, 21 Nov 2002 17:20:05 -0700 (MST)
  5. Message-Id: <200211220020.gAM0K5c13075@baskerville.CS.Arizona.EDU>
  6. X-Authentication-Warning: weaver.tuc.noao.edu: swampler set sender to swampler@noao.edu using -f
  7. Subject: Re: tab in regex
  8. From: Steve Wampler <swampler@noao.edu>
  9. To: jeffery@cs.nmsu.edu
  10. Cc: jsampson@indexes.u-net.com, icon2002@OptOnLine.net,
  11.    icon-group@cs.arizona.edu
  12. Date: 21 Nov 2002 12:56:29 -0800
  13. Errors-To: icon-group-errors@cs.arizona.edu
  14. Status: RO
  15.  
  16. On Thu, 2002-11-21 at 11:44, Clint Jeffery wrote:
  17. > In Steve's example, the \t is turned into a tab character by the Icon
  18. > translator without RePat having to lift a finger.  Maybe the problem is
  19. > when the string supplied to RePat() is typed by a user as input data
  20. > rather than hardwired into a string literal. In that case \t would be
  21. > interpreted the same as the string literal "\\t" and the question is
  22. > whether RePat() does such escape processing.  But this is all just a guess
  23. > as to what the issue is.
  24.  
  25. Yes, that's exactly what I meant by "some other problem
  26. masquerading...".  But if the user is typing in the text, then
  27. they can just type a TAB character and things should work just
  28. fine [I tested that case, also].
  29.  
  30. -- 
  31. Steve Wampler -- swampler@noao.edu
  32. Quantum materiae materietur marmota monax si marmota
  33.                     monax materiam possit materiari?
  34.